﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Apollo.ElementUtils
{
    internal class IntegerElement : Element
    {
        public int Val { get; set; }

        /// <summary>
        /// 构造函数
        /// </summary>
        public IntegerElement(int data = 0) : base(ElementType.ELEMENT_INTEGER)
        {
            Val = data;
        }

        public override string ToString()
        {
            return $"IntegerElement: {Val}";
        }
    }
}
